<!-- 我的设备 -->

<template>
  <WebTable :list="one.bindDevice" noPage>
    <RowText :label="`${CORE.MAP.ASSET}名称`" bind="device.deviceName" :minWidth="120" />
    <RowText :label="`${CORE.MAP.ASSET}类型`" bind="device.deviceTypeName" />
    <RowText label="厂商" bind="device.manufacturerName" empty="-" />
    <RowText label="型号" bind="device.model" empty="-" />
    <RowText label="IP地址" bind="device.ipAddress" :width="120" empty="-" />
    <RowStatus bind="device.status" :dict="CORE.DICT.STATUS_ONLINE_DEVICE" />
    <RowDate label="最近保养" bind="device.lastMaintainTime" empty="-" />
    <RowText label="维修次数" bind="device.maintainNumber" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyDevice',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb('roadway')],
}
</script>
